import java.io.PrintStream;

public class Journal extends Issue{//журнал
	int number;
    public Journal(String name, int number) {
        super(name);
        this.number = number;
    }

    public void print(PrintStream out) {
    	super.print(out);
        out.print("Номер журнала:");
        out.println(number);
    }

}
